import VueRouter from "vue-router";
import home from "./component/home.vue";
import save from "./component/save.vue";
import history_mune from "./component/history_mune.vue";
import compare from "./component/compare.vue";
import discount from "./component/discount.vue";
import detail_menu from "./component/details/details_menu.vue";
var router = new VueRouter({
    routes:[
        {path:"/",redirect:"/home"},
        {path:'/home',component:home},
        {path:"/save",component:save},
        {path:"/history_mune",component:history_mune},
        {path:"/compare",component:compare},
        {path:"/discount",component:discount},
        {path:"/discount/details_menu/:id",component:detail_menu}
    ],
     linkActiveClass:"mui-active"//
})
export default router